var ServicePath = "https://www.sdnjx.cn/api/v1";
var AppPath = "https://www.sdnjx.cn";

//注册、登录
function RegisterService(){
  var path = "/Sufferer";
  return ServicePath + path;
}
//聊天页面
function ChatView(){
  var path="/PreChat/Index";
  return  AppPath + path;
}
//账号信息
function AccountService(){
  var path = "/Account";
  return ServicePath + path;
}
function HospitalService(){
  var path = "/Hospital";
  return ServicePath + path;
}
function SectionService(){
  var path = "/Section";
  return ServicePath + path;
}
//医生接口
function DoctorService(){
  var path = "/ADoctor";
  return ServicePath + path;
}

//获取单个医生
function SingleDoctorService(){
  var path = "/GetDoctor";
  return DoctorService() + path;
}

//热门医生接口
function HotDoctorService(){
  var path = "/HotDoctor";
  return ServicePath + path;
}

module.exports = {
  RegisterService: RegisterService,
  DoctorService: DoctorService,
  ChatView: ChatView,
  HotDoctorService: HotDoctorService,
  AccountService: AccountService,
  SingleDoctorService: SingleDoctorService,
  HospitalService: HospitalService,
  SectionService: SectionService

}